<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>

   <%
   	String username = request.getParameter("username");
   	String password = request.getParameter("password");
   
   	session.setAttribute("username", username);
   	request.setAttribute("password", password);
   	
   	request.getRequestDispatcher("success.jsp").forward(request, response);
   	//response.sendRedirect("success.jsp");
   
   %>